package me.firstapp.module.weixin.system;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import me.firstapp.module.base.BaseEntity;

@Entity
@Table(name = "THIS_SYSTEM")
public class ThisSystem extends BaseEntity {

	private static final long serialVersionUID = -7461991244761290001L;

	// 订单号长度
	@Column(name = "ORDER_NO_LENGTH", nullable = false)
	private Integer orderNoLength;

	// 未支付订单过期时间（分钟）
	@Column(name = "ORDER_OUT_TIMES", nullable = false)
	private Long orderOutTimes;

	// 提现手续费扣费率
	@Column(name = "CASH_FEE_RATE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal cashFeeRate;

	// 粉丝积分转贝币比率
	@Column(name = "FANS_WEIBI_TO_JINBI_RATE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal fansWeibiToJinbiRate;

	// 会员积分转贝币比率
	@Column(name = "VIP_WEIBI_TO_JINBI_RATE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal vipWeibiToJinbiRate;

	// 代理积分转贝币比率
	@Column(name = "AGENT_WEIBI_TO_JINBI_RATE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal agenterWeibiToJinbiRate;

	// 合伙人积分转贝币比率
	@Column(name = "PARTNER_WEIBI_TO_JINBI_RATE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal partnerWeibiToJinbiRate;

	// 合伙人数量限制
	@Column(name = "PARTNER_COUNTS_LIMIT", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private Integer partnerCountsLimit;

	// 代理提现时，返给合伙人的贝币比率
	@Column(name = "PARTNER_JINBI_FROM_AGENT_CASH_RATE", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal partnerJinbiFromAgentCashRate;

	// 推广赠送积分
	@Column(name = "SPREAD_GIVE_WEI_BI", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal spreadGiveWeiBi;

	// 推广赠送贝币
	@Column(name = "SPREAD_GIVE_JIN_BI", columnDefinition = "DECIMAL(11, 4)", nullable = false)
	private BigDecimal spreadGiveJinBi;

	public BigDecimal getCashFeeRate() {
		return cashFeeRate;
	}

	public void setCashFeeRate(BigDecimal cashFeeRate) {
		this.cashFeeRate = cashFeeRate;
	}

	public Long getOrderOutTimes() {
		return orderOutTimes;
	}

	public void setOrderOutTimes(Long orderOutTimes) {
		this.orderOutTimes = orderOutTimes;
	}

	public BigDecimal getFansWeibiToJinbiRate() {
		return fansWeibiToJinbiRate;
	}

	public void setFansWeibiToJinbiRate(BigDecimal fansWeibiToJinbiRate) {
		this.fansWeibiToJinbiRate = fansWeibiToJinbiRate;
	}

	public BigDecimal getVipWeibiToJinbiRate() {
		return vipWeibiToJinbiRate;
	}

	public void setVipWeibiToJinbiRate(BigDecimal vipWeibiToJinbiRate) {
		this.vipWeibiToJinbiRate = vipWeibiToJinbiRate;
	}

	public BigDecimal getAgenterWeibiToJinbiRate() {
		return agenterWeibiToJinbiRate;
	}

	public void setAgenterWeibiToJinbiRate(BigDecimal agenterWeibiToJinbiRate) {
		this.agenterWeibiToJinbiRate = agenterWeibiToJinbiRate;
	}

	public BigDecimal getPartnerWeibiToJinbiRate() {
		return partnerWeibiToJinbiRate;
	}

	public void setPartnerWeibiToJinbiRate(BigDecimal partnerWeibiToJinbiRate) {
		this.partnerWeibiToJinbiRate = partnerWeibiToJinbiRate;
	}

	public Integer getPartnerCountsLimit() {
		return partnerCountsLimit;
	}

	public void setPartnerCountsLimit(Integer partnerCountsLimit) {
		this.partnerCountsLimit = partnerCountsLimit;
	}

	public BigDecimal getPartnerJinbiFromAgentCashRate() {
		return partnerJinbiFromAgentCashRate;
	}

	public void setPartnerJinbiFromAgentCashRate(BigDecimal partnerJinbiFromAgentCashRate) {
		this.partnerJinbiFromAgentCashRate = partnerJinbiFromAgentCashRate;
	}

	public Integer getOrderNoLength() {
		return orderNoLength;
	}

	public void setOrderNoLength(Integer orderNoLength) {
		this.orderNoLength = orderNoLength;
	}

	public BigDecimal getSpreadGiveWeiBi() {
		return spreadGiveWeiBi;
	}

	public void setSpreadGiveWeiBi(BigDecimal spreadGiveWeiBi) {
		this.spreadGiveWeiBi = spreadGiveWeiBi;
	}

	public BigDecimal getSpreadGiveJinBi() {
		return spreadGiveJinBi;
	}

	public void setSpreadGiveJinBi(BigDecimal spreadGiveJinBi) {
		this.spreadGiveJinBi = spreadGiveJinBi;
	}

}
